package com.rk.kbk.dao;

import com.rk.kbk.model.Instruction;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @InstructionDao
 * @Dao
 * @version : Ver 1.0
 */
public interface InstructionDao extends JpaRepository<Instruction, Long>,JpaSpecificationExecutor {
        List<Instruction> findByType(Integer type);
}
